package com.bristua.tencent.rtc.sdk.room.business;
import android.content.Context;
import android.support.annotation.NonNull;
import com.bristua.tencent.rtc.sdk.room.IRtcLoginBusiness;
import com.bristua.tencent.rtc.sdk.room.business.callback.IRtcLoginCallback;
import com.bristua.tencent.rtc.sdk.room.business.dao.IRtcLoginDao;
import com.bristua.tencent.rtc.sdk.room.business.dao.impl.RtcLoginDaoImpl;
import java.util.Map;

/**
 * @Author: richsjeson.
 * @Description: TODO()
 * @Date:Created in 2019/1/5 8:30 PM.
 * @Modified By:
 */
public class RtcLoginBusinessImpl implements IRtcLoginBusiness {

    @Override
    public void login(@NonNull final Context pContext, @NonNull final Map<String, Object> pMaps,IRtcLoginCallback pCallback) {
        IRtcLoginDao rtcLoginDao=new RtcLoginDaoImpl();
        rtcLoginDao.setRtcLoginCallback(pCallback);
        rtcLoginDao.login(pContext,pMaps);
    }

    @Override
    public void logout() {

    }
}
